#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include "mycoin.h"
class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);
    int levelIndex;//记录所选的关卡
    //重写绘图事件
    void paintEvent(QPaintEvent *);
    //记录当前关卡配置
    int gameArray[4][4];
    MyCoin *coinBtn[4][4];
    //是否胜利
    bool isWin;

signals:
    //自定义信号
    void chooseSceneBack();

public slots:
};

#endif // PLAYSCENE_H
